package cn.openea.perpartner.meily.homepagesearch.entity;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author rains
 * @since 2023-06-29 15:25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Task {
    @ApiModelProperty(value = "类型。0岗位、1活动(包含测评、样品)、2商品、3学习")
    private String type;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "副标题")
    private String subtitle;
    @ApiModelProperty(value = "标题标签（岗位：新、热等；活动：需求大厅表taskKeyWord）")
    private String titleLabel;
    @ApiModelProperty(value = "标题标签颜色（新：#ea4d5e；热：#ffa800；样品活动：#40972f）")
    private String titleColor;
    @ApiModelProperty(value = "价格")
    private String price;
    @ApiModelProperty(value = "标签")
    private String labels;
    @ApiModelProperty(value = "标签颜色（活动取需求大厅表taskColor）")
    private String labelsColor;
    @ApiModelProperty(value = "优惠券标签")
    private String couponLabel;
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "图片")
    private String images;
    @ApiModelProperty(value = "业务id。jobId、测评id、样品id等")
    private String businessId;
    @ApiModelProperty(value = "跳转路径")
    private String jumpUrl;
    @ApiModelProperty(value = "额外JSON信息")
    private JSONObject extraJSON;
}
